ShortPixel\Model\Converter\PNGConverter A

Total Complexity 55
Dependencies 6
Dependents 0
Total lines 486
Lines of code 275
Logical lines of code 176
Comment lines 84
Methods 12
Properties 8

Methods 12

Method Rating Maintainability Complexity Lines of code
convert()
A
41 10 58
run()
A
42 7 55
getPNGImage()
A
44 7 49
isTransparent()
S
52 6 22
isConvertable()
S
56 6 20
checkFileSizeMargin()
S
56 6 19
__construct()
S
59 5 13
restore()
S
55 2 20
hasTried()
S
70 2 7
raiseMemoryLimit()
S
74 2 5
filterQueue()
S
76 1 4
getCheckSum()
S
80 1 3